<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>indexDB 全选</title>
  <!-- Import style -->
  <link rel="stylesheet" href="//unpkg.com/element-plus/dist/index.css" />
  <!-- Import Vue 3 -->
  <script src="//unpkg.com/vue@3"></script>
  <!-- Import component library -->
  <script src="//unpkg.com/element-plus"></script>
</head>
<body>
  <div id="app">
    <div>{{text}}</div>
  </div>
</body>
<script>
  const App = {
    data() {
      return {
        text: 'ewee'
      }
    },
  };

  const app = Vue.createApp(App);
  app.use(ElementPlus);
  app.mount('#app');
</script>
<script src="./../utils/indexDB/index.js"></script>
<script>
    const dbId = 'table01'
    indexDB.createIndexDB(dbId);

    setTimeout(() => {
        indexDB.addData(dbId, 'select', [1,2,3,4,5])
    }, 3000)
</script>
</html>
